package com.web_bloks.storage.client;

import java.util.Vector;

/**
 * 
 * @author Jean-Lou Dupont
 *
 */
public interface IRecentList {

	/**
	 * Inserts a single entry at the top of the list IFF
	 * the top item and this one are different
	 * 
	 * @param entry String
	 * @param meta String
	 * @return boolean
	 */
	public boolean insertEntry(String entry, String meta);

	/**
	 * Retrieves the most recent 'count' entries from the list
	 * 
	 * @param count int
	 * @return Vector<RecentListEntry>
	 */
	public Vector<RecentListEntry> getLatest(int count);
	
}//